package com.example.jixeishi1.service;



import com.example.jixeishi1.dao.ProductMapper;
import com.example.jixeishi1.entity.ProductEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 
 *
 * @author cola
 * @date 2021-11-15 22:12:57
 */
@Service
public class ProductService {
    @Resource
    ProductMapper productMapper;

    public List<ProductEntity> getCommodityEntity() {
        List<ProductEntity> commodityEntities = productMapper.getCommodityEntity();
        return commodityEntities;
    }


}

